import * as React from 'react';
import {View, TouchableOpacity,StyleSheet, Image,Text} from 'react-native';
import screen from '../utils/screen';
import Images from '../images/images';
import TouchableView from './touchableView/touchableView';


const LinkButton  = ({title,onPress,space = screen.PIXEL_90,style})=>{
    return (
        <TouchableView
            style={[{width:screen.width - space * 2},styles.button,style]}
            onPress={onPress}
        >
            <Text style={{color:'#fff',fontSize:13,fontWeight:'bold'}}>{title}</Text>
        </TouchableView>
    )
}

export default LinkButton

const styles = StyleSheet.create({
    button:{
        backgroundColor:'#0D80FC',
        justifyContent: 'center', alignItems: 'center',height:screen.PIXEL_88,
        borderRadius:100
    },

})
